import Vue from 'vue'
import Router from 'vue-router'
import index from "../page/index"
import schoolnew from "../page/schoolnew/schoolnew"
import introduce from "../page/introduce"
import collegenotice from "../page/collegenotice"
import collegetwo from "../page/collegenoticetwo/collegetwo"
import content from "../page/views/content"
import zyjs from "../page/zyjs"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: "/schoolnew",
      name: "schoolnew",
      component: schoolnew
    },
    {
      path: "/introduce",
      name: "introduce",
      component: introduce
    },
    {
      path: "/collegenotice",
      name: "collegenotice",
      component: collegenotice,
      children: [
        {
          path: "collegetwo",
          name: "collegetwo",
          component: collegetwo
        },
        
      ]
    },
    {
      path: "/content/:id",
      name: "content",
      component: content
    },
    {
      path: "/zyjs",
      name: "zyjs",
      component: zyjs
    },
  ]
})
